package com.clkj.xiuzheng.pojo.shangcheng;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author yawang
 * @date Fri May 17 09:15:32 CST 2024
 */
@ApiModel( value ="t_xz_orderInfo" )
@Table( name ="t_xz_orderInfo" )
public class OrderInfo  implements Serializable {


	/**
	 * 订单详情表
	 */
	@Id
   	@Column(name = "info_id",updatable = false )
	@ApiModelProperty( value="订单详情表")
	private Integer infoId;

	/**
	 * 商品id
	 */
   	@Column(name = "product_id" )
	@ApiModelProperty( value="商品id")
	private Integer productId;

	/**
	 * 订单规格id
	 */
   	@Column(name = "format_id" )
	@ApiModelProperty( value="订单规格id")
	private Integer formatId;

	/**
	 * 订购数量
	 */
   	@Column(name = "product_num" )
	@ApiModelProperty( value="订购数量")
	private Integer productNum;

	/**
	 * 商品单价
	 */
   	@Column(name = "product_price" )
	@ApiModelProperty( value="商品单价")
	private Double productPrice;

	/**
	 * 商品总价
	 */
   	@Column(name = "product_total" )
	@ApiModelProperty( value="商品总价")
	private Double productTotal;

	/**
	 * 使用积分数
	 */
   	@Column(name = "deduct_score" )
	@ApiModelProperty( value="使用积分数")
	private Integer deductScore;

    /**
     * 使用余额数，
     */
    @Column(name = "deduct_money" )
    @ApiModelProperty( value="使用余额数")
    private Double deductMoney;

	/**
	 * 活动积分
	 */
   	@Column(name = "factory_id" )
	@ApiModelProperty( value="厂商")
	private Integer factoryId;

	/**
	 * 最总价格
	 */
   	@Column(name = "user_id" )
	@ApiModelProperty( value="最总价格")
	private Integer userId;

	/**
	 * 订单编号
	 */
   	@Column(name = "order_number" )
	@ApiModelProperty( value="订单编号")
	private String orderNumber;

   	@Column(name = "company_id" )
	@ApiModelProperty( value="null")
	private Integer companyId;

   	@Column(name = "order_date" )
	@ApiModelProperty( value="null")
	private String orderDate;

	/**
	 * 评价状态 1已评价 2 已申请售后
	 */
   	@Column(name = "rate_status" )
	@ApiModelProperty( value="评价状态 1已评价  2 已申请售后")
	private Integer rateStatus;

    /**
     *  邮费
     */
    @Column(name = "post_num" )
    @ApiModelProperty( value="邮费")
    private Double postNum;

   	@Transient
    private String productName;
    @Transient
   	private  String productImage;
    @Transient
   	private String formatName;
    @Transient
    private Integer productScore;
    @Transient
    private Integer orderStatus;
    @Transient
    private String customerName;
    @Transient
    private String customerAddress;
    @Transient
    private String customerTel;
    @Transient
    private String orderNote;
    @Transient
    private String sendComName;
    @Transient
    private String sendOrder;
    @Transient
    private String sendCompany;
    @Transient
    private String orderTime;


  public Integer getInfoId() {
    return infoId;
  }

  public void setInfoId(Integer infoId) {
    this.infoId = infoId;
  }


  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }


  public Integer getFormatId() {
    return formatId;
  }

  public void setFormatId(Integer formatId) {
    this.formatId = formatId;
  }


  public Integer getProductNum() {
    return productNum;
  }

  public void setProductNum(Integer productNum) {
    this.productNum = productNum;
  }


  public Double getProductPrice() {
    return productPrice;
  }

  public void setProductPrice(Double productPrice) {
    this.productPrice = productPrice;
  }


  public Double getProductTotal() {
    return productTotal;
  }

  public void setProductTotal(Double productTotal) {
    this.productTotal = productTotal;
  }


  public Integer getDeductScore() {
    return deductScore;
  }

  public void setDeductScore(Integer deductScore) {
    this.deductScore = deductScore;
  }


  public Integer getFactoryId() {
    return factoryId;
  }

  public void setFactoryId(Integer factoryId) {
    this.factoryId = factoryId;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Integer getCompanyId() {
    return companyId;
  }

  public void setCompanyId(Integer companyId) {
    this.companyId = companyId;
  }


  public String getOrderDate() {
    return orderDate;
  }

  public void setOrderDate(String orderDate) {
    this.orderDate = orderDate;
  }


  public Integer getRateStatus() {
    return rateStatus;
  }

  public void setRateStatus(Integer rateStatus) {
    this.rateStatus = rateStatus;
  }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductImage() {
        return productImage;
    }

    public void setProductImage(String productImage) {
        this.productImage = productImage;
    }

    public String getFormatName() {
        return formatName;
    }

    public void setFormatName(String formatName) {
        this.formatName = formatName;
    }

    public Integer getProductScore() {
        return productScore;
    }

    public void setProductScore(Integer productScore) {
        this.productScore = productScore;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerAddress() {
        return customerAddress;
    }

    public void setCustomerAddress(String customerAddress) {
        this.customerAddress = customerAddress;
    }

    public String getCustomerTel() {
        return customerTel;
    }

    public void setCustomerTel(String customerTel) {
        this.customerTel = customerTel;
    }

    public String getOrderNote() {
        return orderNote;
    }

    public void setOrderNote(String orderNote) {
        this.orderNote = orderNote;
    }

    public String getSendComName() {
        return sendComName;
    }

    public void setSendComName(String sendComName) {
        this.sendComName = sendComName;
    }

    public String getSendOrder() {
        return sendOrder;
    }

    public void setSendOrder(String sendOrder) {
        this.sendOrder = sendOrder;
    }



    public String getSendCompany() {
        return sendCompany;
    }

    public void setSendCompany(String sendCompany) {
        this.sendCompany = sendCompany;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public Double getDeductMoney() {
        return deductMoney;
    }

    public void setDeductMoney(Double deductMoney) {
        this.deductMoney = deductMoney;
    }

    public Double getPostNum() {
        return postNum;
    }

    public void setPostNum(Double postNum) {
        this.postNum = postNum;
    }
}
